package com.bupt.websocket.service.impl;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("storage")
public class StorageProperties {

    /**
     * Folder location for storing files
     */
    private String location = "D://websocket-images";
    private String NginxLocation = "http://10.103.240.160:9001";
//    private String location = "/Users/changjianduo/upload-dir";

    public String getLocation() {
        return location;
    }

    public String getNginxLocation() {
        return NginxLocation;
    }

    public void setLocation(String location) {
        this.location = location;
    }

}
